SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b7f0342f08c82813b13c67fa948fd1e6db273dd1989f743a240b9256e3a8822' 
  AND token = '240ihUPxT/NTMQzM6p5b2qaRQL58Jbu5jtGk5U6ZXlU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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