SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ce295b7a7dc3cda3ec92a2ea728d5518d782b1320028dd453dc3bf921914dac' 
  AND token = 'wWYk+ll6Ig5Oxj2Lrpm6PJNWZaT7Q1IOsbCuza40tkI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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