SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db1ad172037117b3284104eb45f407ef08152b09966e2870c68cdf37e74308b0' 
  AND token = '7Mdt5Bwy1bxcwRi9/C3yf+Vm/xcVFwnNf7XWG+ZJ6Mo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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