SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78feeb24fbdaa1a3fdeb3a692d26ff5badccd0d7b5118d9b010dfed80ed87ffd' 
  AND token = 'btvZGnkpyfCClrk4Z0cyWGKtmtKGOlR2Gb2TLWAOiLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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