SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2e3df6b2fbd0dbbf2dce277c31c434c4c52f2834fb7a3416e50970cea54eda5' 
  AND token = 'hQtWA/fZguYsnEhAG65G8SIlZS8ko3iXjHHidfU/5RY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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