SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc0ba98d2f22b04421658106455286687356bc551ce5e49595a054edf5b3db54' 
  AND token = '+HfQ4hsm9YiPkKSWpkk7zVB0Q/ep0HH2RDV6+n6v6OY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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