SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51d315c69c726e3b4f0f3414f4d67788bab8bab1c0815518128b6f3b912b794e' 
  AND token = 'nQtcDimQ39XinYkul/VNcvTRZBvvU2RnN+rItX7XX3w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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