SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6c2f0b71015aa583f0783697aeda8a93bc1947994fab8806671b7f2e07c9bb65' 
  AND token = 'XvL5fhEjsPzrXg1urOy0XHFoyII51cqMMX1D1058j4E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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