SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c40ef273133c27aaf928f12d7df53241fdeed4f565fe08265dc5bb252170b678' 
  AND token = '4Y0iA0k1s/0WtIcUb09MI5dEx4+YT/RSlsbG3XyGih4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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