SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7dd2de0bf277b0672398399f4d70e9889170d1920e602d777dfe995db772a9f2' 
  AND token = 'gCCuyKRzfFXvkQ+avTuiJ8sZJGenHFeXh7bSTzie1bg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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