SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e1567ea0151f274ec00b34d5327fdfdd04eaa52107c6592a8f66cbe02478792c' 
  AND token = 'Xwd5I/lEeHvYd3yTJZWPRwj+GFHVXX/gNAMItMO17J4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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