SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd46bd17badeac4e248ac17a8a0f6a0d0f9bbd5c66566bdcdf86100346e9e4867' 
  AND token = 'ddmcWfHrkw7i+zZyRY3AeApQF/Lf03zhRiKR4l9f0M0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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