SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c796733065cc2ab285e472a76b0c5f763367ba09dadda386c4b1d8b126749128' 
  AND token = 'JULPlGB4ULt2Q73d/3vIWJWYJAdwYpdp0l/k0iaxv2g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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