SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d0fc1fdfe11870cbc8d8d9aa96826c02a0c513080b9bef4513f34a2466c483b' 
  AND token = 'TnhlbO029UKQt/CCqHD/thiQ7qkCs3r4Zuc6ItxZdok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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