SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd04a740beb1803a9244e81289a1d586963b045b54a605f9820f822e18be07af8' 
  AND token = 'MMPnWb/l1GfQ7fiy0IpIU9gguUveeXwFPdYD/vlg64I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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