SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c66d7cb2ca094b244e2ab84dc773d6bdf5611810ef35ed62fe3f4ab92231979a' 
  AND token = 'eIao0y2YYbHmduH/kg+WBLFHTXxvG4Y1Uc1Hpv0xpYk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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