SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a18046e51db6eb2a6fc2c9a086094c19747fdbf57c2d89994afb99693c7c3510' 
  AND token = 'Bx3dNRZR0p/8UZsfsXgJQ+2VaZ6nuk7rvcmPFO+e8yQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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