SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '510a6eedbdab70db03f2285ec19f11862c2c8ee65b710d5d67324a9c981e3721' 
  AND token = 'bfPjLrxqcYSccPS6r9O5Eai0QnqMmkb2pOcNASCs9q4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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