SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '844e7825a22fab95c92da20acf05394f91d8bf3880d9f01e87d90739a97cc96d' 
  AND token = 'm3gnlxg3OMfOO8Oi20TmzGaNUysVoiIIiduCmDE196g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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