SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56ff4def87b080a01744611375aa784552ecd62572a8ed1a44c85fffd54df1dd' 
  AND token = 'Lt4kWoRrX1F1ZISptB6+4FaVIOuc9bOJGR52J10SymI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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