SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23ccd457fbeab832294eb1e062f22fd2553bd55c9cd7ee457da797dd71ffe82f' 
  AND token = 'o0AVdDX/wt5R117cnV1rgQTjpuNG+PAns9CxxQC05kE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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