SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef10063e6f5e1e2e66cd53a57bfa3327d9a58273831d18d1196ca0272f49eec1' 
  AND token = '21FXPgNDRtQ/gbwNo2Xl+T7zk4HlWQl9Nrxye3aDBQM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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