SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7cedaa952342b343f280c7aad3338dd98231a467459de4e7dd1c2e8ffb37b2bf' 
  AND token = 'KOpH3lmMpsH2qXIXm2TB2Tviigcx1QtPG/3quFphu6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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