SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce9d7ad2c8b83072afcc1d37c95a3f7e1b4ced2fe953e4986e911c93a2b95328' 
  AND token = 'OIrR/9xMWk/3r3Lvht++FGsqb0V+xAbmyp6Km7DW37c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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