SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40bbf4f1f0180fa8d7060bfd5017d7abc0c5983155feffd2accb95b0392b9008' 
  AND token = 'zB0NHzbuavakra2EemmsYSImY/0BOv5zigzkYx0s/B0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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