SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea877e157029bac0f33c0ee6fcc8231e1015e20f86045a1da5a83b06687ad227' 
  AND token = '6WBM4SPmDbm1PzY5jZrdmVT60MtDV67OwReNffOq2Vg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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