SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c25a4d52f41d732805dad1d81e0be954b560f5181e354363a9ae264feb413a8' 
  AND token = 'mEjKpTMKgowGDI/8ePo6o2H9CHN8cgNq9L77LMD60Nk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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