SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1aea17b981d9f6bbbd0db0eaed937c7f579f1c5cc38f76fd0a663933022a7a57' 
  AND token = 'D1A/NF8gxUJPMG2Wp9/KxqD7vBwdBa6nFlL1pf/Dxz0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}