SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '08ee32afc62d68709222b0024d8adc14e3afb82afaa8a02740f31ea59e5321c5' 
  AND token = 'CPNv7OtJc1IwsHFITcomkSHk1UubwABiCVqtQxFutuk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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