SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3915d04b041464229541983c80b687530d526d6de80f1dc34be19f9b93527a0a' 
  AND token = '4aAenL1hutBj9R+lHZo9VIAb6ak4FKRhslrAXQBshV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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