SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '334a9853779e3911dd4edb0c2dabdb3167f0b18dc1c3b1ca8d35065d22b3f5c7' 
  AND token = 'rkkng8sGBPjN34G8YoLA4SP9yDkPG5rxj92Vj3vEDmk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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