SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '305468c0d3b0fe3bff19456996b89f595eef271cd99d36413dad0a48616204c8' 
  AND token = '9aOCXsDZCM51Pr03PLOkqhL7UO5innZiLnX5+TrQOho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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