SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fa0386485171f0b2a75bdb51b22a68b17a916518f46895b91d25a166b964f2c3' 
  AND token = 'im7fc/zku4JdWDKQfUk146k0YcCsivp05sfL9RwP9tM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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