SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5e3e451ef5ebdfc1a3c9ad0e14a361bb1cd37f7eab404aa4267d2979e5f8267' 
  AND token = 'CuOFR1a16YKBisjrQuFi9GR1IwSvNx3mlA5ZzbfdA8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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